package com.jili.redistest.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author: Jili
 * @date: Created on 2021/7/12 11:17
 */
@Data
@Component
@ConfigurationProperties(prefix = "jili",ignoreUnknownFields = false)
public class Myproperties {

    private final Weixin weixin= new Weixin();

    private final Push push = new Push();


    @Data
    public static class Weixin{
        private String appId;
        private String appSecret;
    }

    @Data
    public static class Push{
        private String badge;
        private String sound;
    }


}
